import React, { Component } from 'react'
import Home from './home'
import Movie  from './movie'
import My from './my'
import RouterView from '../router/routerView'
import routerList from '../router/routerList'
import {Switch,Route,Redirect} from "react-router-dom"
 class App extends Component {
  render() {
    return (
      <div>
        <RouterView RouterList={routerList}/>
          {/* <Switch>
              <Route path="/home" component={Home}></Route>
              <Route path="/my" component={My}></Route>
          </Switch> */}
      </div>
    )
  }
}

export default App